<?php
/**
 *
 * Enter description here ...
 *
 */
require_once ('Zend/Sql/Adapter/Abstract.php');

/**
 *
 * @author MARIA
 *        
 */
class Zend_Sql_Adapter_Standard
	// extends Zend_Sql_Adapter_Abstract
{
	/**
	 * @var Zend_Sql_Adapter_Standard_Parser_Lexer
	 * @var Zend_Sql_Adapter_Standard_Parser_Dialect
	 */
	protected $parser;
	
	public function __construct() {
		$parser  = new Zend_Sql_Adapter_Standard_Parser();
		$dialect = new Zend_Sql_Adapter_Standard_Parser_Dialect();
		$lexer   = new Zend_Sql_Adapter_Standard_Parser_Lexer();
		
		//$lexer->setDialect($dialect);
		//$parser->setDialect($dialect);
		//$parser->setLexer($lexer);
		
		//$this->parser = $parser;
	}
	
	public function parse($sql) {
		$data  = $this->parser->parse($sql);
		$model = Zend_Sql_Adapter_Standard_Model::factory($data);
		return null;
	}
	public function load($sql) {
		return null;
	}
}
